package com.myself.community.entity;

import lombok.Data;

import java.util.Date;

@Data
public class Comment {

    private int id;

    //发表评论的用户
    private int userId;

    //评论对象类别：帖子、课程等
    private int entityType;

    //评论对象类别的id
    private int entityId;

    //评论指向的用户id
    private int targetId;

    //评论的内容
    private String content;

    //评论的状态
    private int status;

    //创建的时间
    private Date createTime;

}